﻿using System.Collections.Generic;
using ChatApp.Core.Info;

namespace ChatApp.Core.Business
{
    public interface IMessageBusiness
    {
        void Insert(MessageInfo pMessageInfo);

        void Update(MessageInfo pMessageInfo);

        void Delete(MessageInfo pMessageInfo);

        IList<MessageInfo> SelectAll();

        MessageInfo SelectByPrimaryId(string pId);

        IList<MessageInfo> SelectByParams(IList<ParameterInfo> pParams);
    }
}
